package edu.sctu.practice.class01.zhangwang.assigns.assign03.question_01;

/**
 * Created by Z_W on 2015/10/22.
 */
public class Main {
    public static void main(String[] args) {
        Circle circle = new Circle("红色", 2);
        Rectangle rectangle = new Rectangle("蓝色", 3, 7);

        Client.equalArea(circle, rectangle);
        System.out.print("圆的");
        Client.displayGeometricObject(circle);
        System.out.print("矩形的");
        Client.displayGeometricObject(rectangle);
    }
}
